package org.rguess.patterns.responsibility.builder;

public class Vehicle {
	private VehicleBuilder builder;

	public Vehicle(VehicleBuilder builder) {
		this.builder = builder;
	}

	// 这是将部件装成汽车的过程
	public void construct() {
		builder.BuildFrame();
		builder.BuildEngine();
		builder.BuildDoors();
		builder.BuildWheels();
		builder.Buider();
	}
}
